systemd.slices.<name>.enable
If set to false, this unit will be a symlink to
/dev/null. This is primarily useful to prevent specific
template instances
(e.g. serial-getty@ttyS0) from being
started. Note that enable=true does not
make a unit start by default at boot; if you want that, see
wantedBy.
- Type
boolean- Default
true- Declared
- <nixpkgs/nixos/modules/system/boot/systemd.nix>